package net.akcegaraz.tipleague.client.service;

import java.util.HashMap;

import net.akcegaraz.tipleague.shared.domain.Ticket;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("tip")
public interface TipService extends RemoteService {
    /**
     * Adds ticket to actual round, by player.
     * 
     * @param ticket
     *            ticket of player, contains bets.
     * @return {@link Ticket}
     */
    Ticket addTicket(Ticket ticket);

    String hello();

    HashMap<String, Ticket> listTickets();
}
